package com.vogue.supplymall.admin.business.domain.model;

import javax.persistence.Entity;
import javax.persistence.Table;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 开通集团的计费信息
 * 废弃
 */
@Entity
@Table(name = "admin_billing")
@Deprecated
public class AdminBilling extends BaseEntity implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 4366992722937237513L;
	/**
     * admin集团的id
     */
    private Long organid;
    /**
     * 计费方式 1：包年 2：包月 3：按单扣费
     */
    private Integer billingtype;
    /**
     * 服务费用
     */
    private BigDecimal cost;
    /**
     * 归属业务
     */
    private String owner;
    /**
     * 提成
     */
    private BigDecimal commission;
    /**
     * 每单比例
     */
    private BigDecimal singleratio;
    /**
     * 保底
     */
    private BigDecimal minimum;
    /**
     * 封顶
     */
    private BigDecimal upperlimit;
    /**
     * 操作者id
     */
    private Long updateuserid;
    /**
     * 操作者名称
     */
    private String updateuser;

    public Long getOrganid() {
        return organid;
    }

    public void setOrganid(Long organid) {
        this.organid = organid;
    }

    public Integer getBillingtype() {
        return billingtype;
    }

    public void setBillingtype(Integer billingtype) {
        this.billingtype = billingtype;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public BigDecimal getCommission() {
        return commission;
    }

    public void setCommission(BigDecimal commission) {
        this.commission = commission;
    }

    public BigDecimal getSingleratio() {
        return singleratio;
    }

    public void setSingleratio(BigDecimal singleratio) {
        this.singleratio = singleratio;
    }

    public BigDecimal getUpperlimit() {
        return upperlimit;
    }

    public void setUpperlimit(BigDecimal upperlimit) {
        this.upperlimit = upperlimit;
    }

    public Long getUpdateuserid() {
        return updateuserid;
    }

    public void setUpdateuserid(Long updateuserid) {
        this.updateuserid = updateuserid;
    }

    public String getUpdateuser() {
        return updateuser;
    }

    public void setUpdateuser(String updateuser) {
        this.updateuser = updateuser;
    }

    public BigDecimal getMinimum() {
        return minimum;
    }

    public void setMinimum(BigDecimal minimum) {
        this.minimum = minimum;
    }
}